package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserMessageSmsErrorLogDao;
import com.frogs.ucenter.entity.UserMessageSmsErrorLog;
import com.frogs.ucenter.service.UserMessageSmsErrorLogService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userMessageSmsErrorLogService")
public class UserMessageSmsErrorLogServiceImpl extends BaseServiceImpl<UserMessageSmsErrorLog> implements UserMessageSmsErrorLogService {
    @Autowired
    private UserMessageSmsErrorLogDao userMessageSmsErrorLogDao;

    public UserMessageSmsErrorLogServiceImpl() {
        super();
    }

    public UserMessageSmsErrorLogDao getUserMessageSmsErrorLogDao() {
        return userMessageSmsErrorLogDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserMessageSmsErrorLog> getBaseDao() {
        return userMessageSmsErrorLogDao;
    }

    public void setUserMessageSmsErrorLogDao(UserMessageSmsErrorLogDao userMessageSmsErrorLogDao) {
        this.userMessageSmsErrorLogDao = userMessageSmsErrorLogDao;
    }
}